#!/bin/bash
#SBATCH --job-name=scripts_BU
#SBATCH --output=scripts_BU_out
#SBATCH --error=scripts_BU_error
#SBATCH -N 1 # node count 
#SBATCH -n 1
#SBATCH -c 60
#SBATCH --mem-per-cpu=5G
#SBATCH -t 96:00:00
#SBATCH --mail-type=end          # send email on job start, end and fault
#SBATCH --mail-type=fail          # send email on job start, end and fault
#SBATCH --mail-user=pilossoph@gmail.com

module purge
module load Matlab/R2022a


cd /hpc/group/pilossophlab/scripts_BU
srun matlab -nodesktop -nosplash -r mainfile